<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
		<title>场地模块</title>
		<link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
		<link rel="stylesheet" type="text/css" href="../css/bootstrapValidator.css"/>
		<link rel="stylesheet" type="text/css" href="../css/css.css"/>
		<link rel="stylesheet" type="text/css" href="../css/place.css"/>
	</head>
	<body>
		<!--导航条开始-->
		<nav class="navbar navbar-default navbar-fixed-top">
			<div class="container">
				<div class="navbar-header">
					<a class="navbar-brand" href="#"><img src="../img/logo.png" alt="logo"/></a>
					<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse">
						<!--<span class="sr-only">切换导航</span>-->
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
					</button>
				</div>
				<div class="collapse navbar-collapse" id="navbar-collapse">
					<ul class="nav navbar-nav navbar-left">
						<li><a href="../index.html"><span class="glyphicon glyphicon-home"></span> 首页</a></li>
						<li><a href="equipment.html">器材模块</a></li>
						<li class="active"><a href="place.html">场地模块</a></li>
						<li><a href="game.html">赛事模块</a></li>
						<li><a href="personal.html">个人中心</a></li>						
					</ul>
				</div>
			</div>
		</nav>
		<!--导航条结束-->
		
		<!--内容一开始-->
		<div class="place">
			<div class="container">
				<h2 class="place-h2">体育馆场地情况</h2>
				<form class="form-inline place-form" method="get">
					<div class="form-group">
						<label class="control-label">搜索场地:</label>
						<input type="text" class="form-control" id="search-place" placeholder="请输入搜索场地" />
						<input class=" btn btn-default" id="search-btn" type="button" value="查询"/>
					</div>
				</form>
				
				
				
				<div class="place-table">
					<table class="table table-bordered table-hover">
					<tr>
						<th class="text-center">场地编号</th>
						<th class="text-center">场地类型</th>
						<th class="text-center">租金</th>
						<th class="text-center">预约</th>
					</tr>
					<!--<tr>
						<td>001</td>
						<td>篮球</td>
						<td>100</td>
						<td><a data-toggle="modal" href="#place-rent">预约</a></td>
					</tr>-->
				</table>
				</div>
					
			</div>
		</div>
		<!--内容一结束-->
		
		
		
		
		<!--底部footer开始-->
		<footer id="footer" class="text-muted bottom">
			<div class="containe">
				<p>管理系统 | 合作联系</p>
				<p>503工作室.体育光管理系统。Powered by Bootstrap</p>
			</div>
		</footer>
		<!--底部footer结束-->
		
		
		<!--场地租借模态框开始-->
		<div class="modal" id="place-rent" tabindex="-1">
        	<div class="modal-dialog">
        		<div class="modal-content">
        			<div class="modal-header">
        				<button type="button" class="close" data-dismiss="modal">
        					<span>&times;</span>
        				</button>
        				<h4 class="modal-title">场地租借</h4>
        			</div>
        			<div class="modal-body">
        				<form class="form-group" id="place-rent-modal">
        					<div class="form-group">
								<label for="placeId">场地编号:</label>
								<input type="text" name="placeId" class="form-control" id="placeId" placeholder="请输入场地编号" />
							</div>
							<div class="form-group">
								<label for="placeName">场地类型:</label>
								<input type="text" name="placeName" class="form-control" id="placeName" placeholder="请输入场地类型" />
							</div>
							<div class="form-group">
								<label for="rentTime">租借时间:</label>
								<input type="text" name="rentTime" class="form-control" id="rentTime" placeholder="请输入租借时间" />
							</div>
							<div class="form-group">
								<label for="rentTime">租借结束时间:</label>
								<input type="text" name="endTime" class="form-control" id="endTime" placeholder="请输入结束时间" />
							</div>
							<div class="form-group">
								<label for="placeUserId">租借人ID:</label>
								<input type="text" name="placeUserId" class="form-control" id="placeUserId" placeholder="请输入账号" />
							</div>
							<div class="form-group">
								<label for="placeUserName">租借人姓名:</label>
								<input type="text" name="placeUserName" class="form-control" id="placeUserName" placeholder="请输入租借人" />
							</div>
							<div class="form-group">
								<label for="contact">联系方式:</label>
								<input type="tel" name="contact" class="form-control" id="contact" placeholder="请输入联系方式" />
							</div>
        				</form>
        			</div>
        			<div class="modal-footer">
        				<button type="button" class="btn btn-primary" id="place-btn" >租借</button>
        				<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>	
        			</div>
        		</div>
        	</div>
       </div>
		<!--场地租借模态框结束-->
		
		<script src="../js/jquery-3.2.1.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/bootstrapValidator.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/place.js" type="text/javascript" charset="utf-8"></script>
	</body>
</html>
